<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/7/2 0002
  Time: 10:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>单点登录</title>
    <script type="text/javascript" src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
    <script type="text/javascript">
        $(function(){

            function login() {
                var loginName = $("#login_name").val();
                var password = $("#password").val();

                var param = {loginName: loginName, password: password};


            }

        })
    </script>
</head>
<body>

<table border="1" cellspacing="1" cellpadding="1">
    <tr>
        <th>登录名</th>
        <td><input type="text" id="login_name"/></td>
    </tr>
    <tr>
        <th>密码</th>
        <td><input type="password" id="password"/></td>
    </tr>
    <tr>
        <td colspan="2">
            <button onclick="login()">登录</button>
        </td>
    </tr>
</table>

</body>
</html>
